package com.aspose.cells;

class zbbj {
   int a;
   byte b;
   byte c;
   int d;
   short e;

   zbbj() {
      this.d = 15;
   }

   zbbj(zbbj var1) {
      this.a(var1);
   }

   void a(int var1, Cells var2) {
      this.a = var1;
      this.b = 0;
      this.c = 0;
      this.d = 15;
      this.e = (short)var2.b();
      this.c(var2.isDefaultRowHeightMatched());
   }

   void a(zbbj var1) {
      this.a = var1.a;
      this.b = var1.b;
      this.c = var1.c;
      this.d = var1.d;
      this.e = var1.e;
   }

   void a(zbbj var1, int var2) {
      switch(var2) {
      case 1:
         this.b = var1.b;
         this.c = var1.c;
         return;
      case 2:
         this.a = var1.a;
         return;
      case 3:
      case 5:
      case 6:
      case 7:
      case 9:
      case 10:
      case 11:
      case 12:
      case 14:
      default:
         if ((var2 & 2) != 0) {
            this.a = var1.a;
         }

         if ((var2 & 1) != 0) {
            this.b = var1.b;
            this.c = var1.c;
         }

         if ((var2 & 8) != 0) {
            this.d = var1.d;
         }

         if ((var2 & 4) != 0) {
            this.e = var1.e;
         }

         return;
      case 4:
         this.e = var1.e;
         return;
      case 8:
         this.d = var1.d;
         return;
      case 13:
         this.b = var1.b;
         this.c = var1.c;
         this.d = var1.d;
         this.e = var1.e;
         return;
      case 15:
         this.a(var1);
      }
   }

   boolean a() {
      return (this.b & 255 & 16) != 0;
   }

   void a(boolean var1) {
      if (var1) {
         this.b = (byte)(this.b | 16);
      } else {
         this.b = (byte)(this.b & 239);
      }

   }

   boolean b() {
      return (this.b & 255 & 32) != 0;
   }

   void b(boolean var1) {
      if (var1) {
         this.b = (byte)(this.b | 32);
      } else {
         this.b = (byte)(this.b & 223);
      }

   }

   boolean c() {
      return (this.b & 255 & 64) == 0;
   }

   void c(boolean var1) {
      if (var1) {
         this.b = (byte)(this.b & 191);
      } else {
         this.b = (byte)(this.b | 64);
      }

   }

   boolean d() {
      return (this.b & 255 & 128) != 0;
   }

   void d(boolean var1) {
      if (var1) {
         this.b = (byte)(this.b | 128);
      } else {
         this.b = (byte)(this.b & 127);
      }

   }

   byte e() {
      return (byte)(this.b & 255 & 15);
   }

   void a(byte var1) {
      this.b = (byte)(this.b & 240);
      this.b |= var1;
   }

   boolean f() {
      return (this.c & 255 & 16) != 0;
   }

   boolean g() {
      return (this.c & 255 & 32) != 0;
   }

   static boolean b(byte var0) {
      return (var0 & 255 & 16) != 0;
   }

   static byte a(byte var0, boolean var1) {
      if (var1) {
         var0 = (byte)(var0 | 16);
      } else {
         var0 = (byte)(var0 & 239);
      }

      return var0;
   }

   static boolean c(byte var0) {
      return (var0 & 255 & 32) != 0;
   }

   static byte b(byte var0, boolean var1) {
      if (var1) {
         var0 = (byte)(var0 | 32);
      } else {
         var0 = (byte)(var0 & 223);
      }

      return var0;
   }

   static boolean d(byte var0) {
      return (var0 & 255 & 64) == 0;
   }

   static byte c(byte var0, boolean var1) {
      if (var1) {
         var0 = (byte)(var0 & 191);
      } else {
         var0 = (byte)(var0 | 64);
      }

      return var0;
   }

   static boolean e(byte var0) {
      return (var0 & 255 & 128) != 0;
   }

   static byte d(byte var0, boolean var1) {
      if (var1) {
         var0 = (byte)(var0 | 128);
      } else {
         var0 = (byte)(var0 & 127);
      }

      return var0;
   }

   static int f(byte var0) {
      return var0 & 255 & 15;
   }

   static byte a(byte var0, int var1) {
      var0 = (byte)(var0 & 240);
      var0 |= (byte)var1;
      return var0;
   }

   static byte g(byte var0) {
      return (byte)(var0 & 255 & 207);
   }

   static byte e(byte var0, boolean var1) {
      if (var1) {
         var0 = (byte)(var0 | 16);
      } else {
         var0 = (byte)(var0 & 239);
      }

      return var0;
   }

   static boolean h(byte var0) {
      return (var0 & 255 & 32) != 0;
   }

   static byte f(byte var0, boolean var1) {
      if (var1) {
         var0 = (byte)(var0 | 32);
      } else {
         var0 = (byte)(var0 & 223);
      }

      return var0;
   }

   static boolean a(int var0) {
      return var0 == 5 || var0 == 6;
   }

   static boolean b(int var0) {
      switch(var0) {
      case 2:
      case 5:
      case 6:
      case 8:
      case 10:
      case 12:
      case 13:
         return true;
      case 3:
      case 4:
      case 7:
      case 9:
      case 11:
      default:
         return false;
      }
   }
}
